import request from "../utils/request"

//登录接口
export const loginAPI = ({mobile,code})=>{
    return request({
        url:"/v1_0/authorizations",
        method:"post",
        data:{mobile,code}
    })
}

//获取用户信息接口
export const getUserInFoAPI=()=>{
    return request({
        url:"/v1_0/user/profile"
    })
} 